
const ec = {
    state: {
        commodityId: 0,
        orderDetails: 0,
        businessId: 0,
        couponId: 0,
        shopDetailsId: 0,
        associatorDetailsId: 0
    },
    mutations: {
        setCommodityId (state, val) {
            state.commodityId = val;
        },
        setOrderDetails (state, val) {
            state.orderDetails = val;
        },
        setBusinessId (state, val) {
            state.businessId = val;
        },
        setCouponId (state, val) {
            state.couponId = val;
        },
        setShopDetailsId (state, val) {
            state.shopDetailsId = val;
        },
        setAssociatorDetailsId (state, val) {
            state.associatorDetailsId = val;
        }
    }
};

export default ec;
